﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ECommerce.BLL.Member;
using ECommerce.Model.Member;
using ECommerce.Common;

namespace ECommerce.Web.Site
{
    public partial class MemberIntegral : SitePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            base.CheckLogin();
            if (!IsPostBack)
            {
                MemberBaseBO member = new MemberBaseBO();
                MemberBaseInfo info = member.GetInfo(SiteSession.MemberID);
                litIntegral.Text = info.Integral.ToString();
            }
        }
    }
}